package tech.aistar.mapper.comment;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tech.aistar.vo.CommentVo;

import java.util.List;

/**
 * Created by Administrator on 2019/10/15 0015.
 */
@Repository
public interface CommentVoMapper {
    @Select("select c.* ,u.name from comment c join user_info u on u.id = c.userinfo_id")
    List<CommentVo> comvoFindAll();
}
